package com.dys.testrelect02;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

/**
 * @className: com.dys.testrelect02.MyAnnotation
 * @description: @Target:定义当前注解能够修饰程序中的哪些元素 @Retention:定义注解的声明周期
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/08/27 下午9:20
 */
@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {

    String value();
}
